Three homes for aged to close