A judge has postponed sentencing in Donald Trump's hush money case and granted permission for his lawyers to seek a dismissal.