Prime Minister’s motive for prorogation was to silence Parliament, court hears