A rare prosecution and resignation of a US border agent who assaulted a migrant