Canadian author loses defamation case over allegations of Pakistan links with Khalistan Referendum