Bosnia’s security minister announced his resignation on Tuesday over what he called a lack of support in handling a migrant crisis from a government plagued by infighting.