VANCOUVER—The former deputy clerk of the British Columbia legislative assembly told a trial that before she returned a retirement allowance she had received assurances from government officials that it was a valid claim. The $258,000 retirement allowance that her then-boss, former clerk Craig James, received in 2012 is the largest among several payments that are…