3 hurt in fire in row homes on block where pride flag burned