Brazilian politician surrenders after throwing grenade at federal agents