US joins battle as Philippines takes losses in besieged city