The police chief of Miami Gardens is resigning, weeks after allegations arose that his officers stopped and searched customers of a convenience store as a matter of routine. Charges of racial profiling and civil rights abuses were bolstered by videos that showed police frisking and arresting people.