Ruling, which overturns an earlier decision, means Assange is now closer to being extradited from a British prison to the US.