Effects of uniaxial pressure on the spin ice Ho2Ti2O7