Two Boston police officers sustained injuries while taking into custody a man suspected of assault in the city’s South End neighborhood.