Bangladesh Prime Minister Sheikh Hasina resigned and fled the country after hundreds of people were killed in a crackdown on demonstrations that began as protests against job quotas and swelled into a movement demanding her ouster.