Gerald Edward Holland, Royal Engineers