New Constraint on Early Dark Energy from Planck and BOSS Data Using the Profile Likelihood