Binary quartic forms with vanishing $J$-invariant