Lewis Girls School and Pengam Boys School would merge under the plans