Gestapo head Heinrich Mueller died in Berlin in the final days of the Second World War, a researcher says.