Housing association, Clarion, has apologised after a burst water pipe flooded a Rainham block of flats and forced residents to be evacuated.