The government of Ecuador confirmed on Tuesday that it had decided “to temporarily restrict access” to the internet inside its embassy in London, effectively cutting off Julian Assange, the editor of Wikileaks, who has lived there since he was granted political asylum in 2012.