In any case in which compliance with the subdivision ordinance will create an unnecessary hardship and failure to comply does not interfere with the purpose of the subdivision regulations, the city council may waive compliance by adopting a resolution to that effect and the conveyance may then be filed or recorded.