Two key ministries to be merged