Myanmar signed a tripartite pact with United Nations agencies on Wednesday that will establish a framework allowing Rohingya refugees to return from camps in neighbouring Bangladesh to their homelands.