Manchester United nearly drew level soon after falling behind, but Fred's effort was smothered by Ederson.