Former Cambridge school built in late 1800s to be demolished