Parliament approves Cyprus pipeline agreement, gas law amendment