The prime minister of Bangladesh has resigned and fled the country following