Mir Badshah Qaisrani cleared to contest polls