Court strikes down policy denying asylum to migrants fleeing violence