MP must cure deficiencies in claim against Matt Hancock - judge