Tens of thousands of supporters of a Pakistani Islamist executed for gunning down a liberal governor gathered for his funeral on Tuesday, sparking fears of violence.