MAGIC observations of the February 2014 flare of 1ES 1011+496 and ensuing constraint of the EBL density