Nepal SC reinstates Deuba as PM