How Quantum Mechanics can consistently describe the use of itself