Firefighters battled a five-alarm blaze that tore through a historic church on Broadway in South Boston.