Studio backs embattled star Ezra Miller; James Gunn calls ‘The Flash’ one of the “greatest superhero movies” ever