Dozens of families told they can return to their homes after firefighters gain control of blaze in historical building that housed Israel's first technological school