Shell model and mean-field description of band termination in the A ∼44 nuclei