Stokes, Ali star as England post commanding total