Hugh John Roberts, Royal Anglesey Royal Engineers