The continuous melting transition of a three-dimensional crystal at a planar elastic instability