Ukraine opens a "terror" probe after a lawmaker was wounded and two people killed in a bombing that his party called an assassination attempt.