The Formula macro used to be inside XWiki Standard and thus it was normal that its handling was inside the LaTeX extension but now that it has its own contrib extension, the LaTeX handling should be moved there.