Family keeps home as AIB writes off €150,000 of debt