Eros, STX to merge in all-stock deal