Havering Council has confirmed it will close South Hornchurch, Gidea Park and Harold Wood Libraries by April after months of controversy.