Despite keeping one foot in the club-pop groove, commitment and maturity set the tone for settled-down Sheeran’s latest outing