Pakistan court grants protection from arrest to ex-leader Nawaz Sharif, allowing his return home