Palestinian shot dead in East Jerusalem 'terror' attack