Alexza cuts staff, ends Endo deal