Ismaila Sarr scored a penalty to help Senegal beat Ecuador 2-1 and set up a meeting with England in the World Cup.