The men, both residents of East Jerusalem neighborhood of Jabel Mukaber, attempted to join jihadist group's Sinai branch earlier this year