JK Rowling finally confirms a brilliant fan theory about Hermione