CAIRO — Millions of people poured into Egypt's streets Friday in rival rallies while the nation's ousted president was formally placed under investigation on a host of allegations including murder and conspiracy with the Palestinian militant group Hamas.