Apple to pay Italy 318 million euros: sign tax deal