The murder of a much-loved water polo coach in a school bathroom did not involve a "momentary loss of control" but was carefully planned and rehearsed by her ex-boyfriend, a coroner has heard.